package rpc.transport;

import rpc.entity.RpcRequest;
import rpc.serializer.CommonSerializer;

/**
 * 客户端类通用接口
 *
 * @Author wupeijie
 * @Date 2020/11/20 15:28
 */
public interface RpcClient {
    Object sendRequest(RpcRequest rpcRequest);

    void setSerializer(CommonSerializer serializer);
}
